package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/4/27.
 */

public class ActivityListBean implements IModel {
    /**
     * error_code : 0
     * msg : 成功
     * data : [{"id":"2","user_id":"10152","title":"活动2","activity_time":"04月27 11:16","img_path":"http://aaa.com/1493115553","number_all":"2","number_join":"1","distance":"3.14km","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png","is_collection":0},{"id":"1","user_id":"10152","title":"活动1","activity_time":"04月27 11:16","img_path":"http://aaa.com/1493115553","number_all":"2","number_join":"1","distance":"3.45km","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png","is_collection":0}]
     */

    private String error_code;
    private String msg;
    private List<DataBean> data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        /**
         * id : 2
         * user_id : 10152
         * title : 活动2
         * activity_time : 04月27 11:16
         * img_path : http://aaa.com/1493115553
         * number_all : 2
         * number_join : 1
         * distance : 3.14km
         * user_nickname : 132****1252
         * user_logo : http://aaa.com/\Public\system\avatar.png
         * is_collection : 0
         */

        private String id;
        private String user_id;
        private String title;
        private String activity_time;
        private String img_path;
        private String number_all;
        private String number_join;
        private String distance;
        private String user_nickname;
        private String user_logo;
        private String is_collection;


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getActivity_time() {
            return activity_time;
        }

        public void setActivity_time(String activity_time) {
            this.activity_time = activity_time;
        }

        public String getImg_path() {
            return img_path;
        }

        public void setImg_path(String img_path) {
            this.img_path = img_path;
        }

        public String getNumber_all() {
            return number_all;
        }

        public void setNumber_all(String number_all) {
            this.number_all = number_all;
        }

        public String getNumber_join() {
            return number_join;
        }

        public void setNumber_join(String number_join) {
            this.number_join = number_join;
        }

        public String getDistance() {
            return distance;
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public String getUser_nickname() {
            return user_nickname;
        }

        public void setUser_nickname(String user_nickname) {
            this.user_nickname = user_nickname;
        }

        public String getUser_logo() {
            return user_logo;
        }

        public void setUser_logo(String user_logo) {
            this.user_logo = user_logo;
        }

        public String getIs_collection() {
            return is_collection;
        }

        public void setIs_collection(String is_collection) {
            this.is_collection = is_collection;
        }
    }
}
